<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<?php
session_start();
ob_start();

if(isset($_POST["userid"]))
{
  $userid = $_POST["userid"];
}
else
{
  if(isset($_GET["userid"]))
  {
    $userid = $_GET["userid"];
  }
}
if(isset($_POST["password"]))
{
  $password = $_POST["password"];
}
else
{
  if(isset($_GET["password"]))
  {
    $password = $_GET["password"];
  }
}

if($userid == "asa" && $password == "asa")
{
  session_register("userid");
  $_SESSION["userid"] = $user;
  header("Refresh:0; URL=admin.php");
}
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>詩歌-主頁</title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<link rel="stylesheet" href="../style.css" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->

<script type="text/javascript" src="../script.js"></script>
<style type="text/css">
.art-post .layout-item-0 {
	margin-top: 13px;
	margin-bottom: 13px;
}

.art-post .layout-item-1 {
	color: #242424;
	background: url(images/e4edc.png) top left no-repeat #FFFFFF;
	padding: 0px;
}

.art-post .layout-item-2 {
	padding: 10px;
}

.ie7 .art-post .art-layout-cell {
	border: none !important;
	padding: 0 !important;
}

.ie6 .art-post .art-layout-cell {
	border: none !important;
	padding: 0 !important;
}
</style>

</head>
<body>
	<div id="art-main">
		<div class="cleared reset-box"></div>
		<div class="art-header">
			<div class="art-header-position">
				<div class="art-header-wrapper">
					<div class="cleared reset-box"></div>
					<div class="art-header-inner">
						<div class="art-headerobject">耶 和 華 是 我 的 力 量 、 是 我 的 盾 牌 ． 我 心 裡 倚 靠 他 、 就 得 幫 助 ． 所 以 我 心 中 歡 樂 ． 我 必 用 詩 歌 頌 讚 他 。(詩 28:7)</div>
						<div class="art-logo">
							<h1 class="art-logo-name">
							</h1>
							<h2 class="art-logo-text">詩 歌 庫</h2>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="cleared reset-box"></div>
		<div class="art-bar art-nav">
			<div class="art-nav-outer">
				<div class="art-nav-wrapper">
					<div class="art-nav-inner">
						<ul class="art-hmenu">
							<li><a href="/poem/index.php">主頁</a></li>
							<li><a href="/poem/categorylist.php">詩歌分類</a></li>
							<li><a href="/poem/albumlist.php">詩歌專輯</a></li>
							<li><a href="/poem/advancedsearch.php">進階搜尋</a></li>
							<li><a href="/poem/contactus.php">聯絡我們</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="cleared reset-box"></div>
		<div class="art-box art-sheet">
			<div class="art-box-body art-sheet-body">
				<form action="index.php" method="get">
					<div>
						<span style="width:100px;"><label id="userIdLabel" for="userid">Login:</label></span>
    				<span style="width:100px;"><input type="text" title="userid" name="userid" id="userid" value="" size=50 autocomplete="off" /></span>
    			</div>
    			<div>
						<span style="width:100px;"><label id="passwordLabel" for="password">Password:</label></span>
    				<span style="width:100px;"><input type="text" title="password" name="password" id="password" value="" size=50 autocomplete="off" ></input>
    			</div>
    			<input type="submit"></input>
				</form>
			</div>
		</div>
		<?php require_once '../footer.php';?>
		<div class="cleared"></div>
	</div>
</body>
</html>
